package com.yao.spider.yiyao.dao;

import com.yao.spider.yiyao.bean.YaoYuanWang;
import com.yao.spider.yiyao.bean.YaoZhWang;
import org.apache.ibatis.session.SqlSession;

import java.util.List;

public interface YaoZhWangDao {
    int insert(YaoZhWang personInfo, SqlSession session);
    int batchInsert(List<YaoZhWang> list, SqlSession session);
    List<YaoZhWang> selectUrlIsNull(SqlSession session);

    void updateShiY(Integer id, String shiY, SqlSession sqlSession);

    YaoZhWang selectByApplyNo(SqlSession sqlSession, String applyNo);

    YaoZhWang selectByName(SqlSession sqlSession, String medicineName);
}
